<?php

declare(strict_types=1);

namespace App\Controller\Rpc;

use App\Controller\AbstractController;
use Hyperf\HttpServer\Contract\RequestInterface;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\RequestMapping;
use App\Service\UserService\FQLService;

/**
 * 分期乐业务对接中心
 * @Controller(prefix="/FQL")
 */
class FQLController extends AbstractController
{
    /**
     * @RequestMapping(path="MessageRev", methods="post")
     * 用户查询
     * @param RequestInterface $request
     */
    public function MessageRev(RequestInterface $request,FQLService $service)
    {
        return $service->MessageRev($request->input('MessageType'),$request->input('data'));
    }
}